<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 120px;
            height: 90px;
            overflow: hidden;
        }
        div>img {
            width: 100%;;
            height: 90px;;
        }
        div:hover>img:last-child{
            display: block;
        }
        div:hover>img:first-child{
            display: none;
        }
        div>img:last-child{
            display: none;
        }
    </style>
</head>
<body>
    <div>
        <img src="../img/shopcar_01.png">
        <img src="../img/shopcar_02.png">
    </div>
</body>
</html>